﻿namespace Token.Module;

public interface IApplication
{
    Task OnApplicationAsync(ApplicationShutdownOptions context);

    void OnApplication(ApplicationShutdownOptions context);
    
    Task ShutdownAsync(ApplicationShutdownOptions context);
    
    void Shutdown(ApplicationShutdownOptions context);
}